package com.example.customer.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "fraud-serv", path = "/api/v1")
public interface FraudService {

    @GetMapping("/fraud-check/{email}")
    Boolean isFraudster(@PathVariable("email") String email);
}